package com.open.pay.common.util;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author zhang kaichao
 * @since 2021/4/24 09:32:36
 */
@Data
@AllArgsConstructor
public class Tuple2<E, T> {

    private E f0;

    private T f1;

    public static <E, T> Tuple2<E, T> of(E f0, T f1) {
        return new Tuple2<>(f0, f1);
    }
}
